package com.cq.hd.system.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 提现配置表
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_withdrawal_config")
@ApiModel(value="TbWithdrawalConfigPo对象", description="提现配置表")
public class TbWithdrawalConfigPo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "提现类型(1-商户本金，2-经纪人佣金，3-商户补贴)")
    @TableField("withdrawal_user_type")
    private Integer withdrawalUserType;

    @ApiModelProperty(value = "资金账户类型(1:自建资金账户 2:平台资金账户)")
    @TableField("financial_account_type")
    private Integer financialAccountType;

    @ApiModelProperty(value = "起提金额")
    @TableField("min_amt")
    private BigDecimal minAmt;

    @ApiModelProperty(value = "单次最高可提金额")
    @TableField("single_max_amt")
    private BigDecimal singleMaxAmt;

    @ApiModelProperty(value = "单日可提次数")
    @TableField("day_count")
    private Integer dayCount;

    @ApiModelProperty(value = "提现手续费")
    @TableField("commission")
    private BigDecimal commission;

    @ApiModelProperty(value = "提现说明")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "提现自动审核方式(1-人工审核，2-自动审核)")
    @TableField("auto_approval_type")
    private Integer autoApprovalType;

    @ApiModelProperty(value = "自动审核提现金额")
    @TableField("auto_approval_amt")
    private BigDecimal autoApprovalAmt;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "删除状态:0-正常，1-已删除")
    @TableField("del_state")
    private Integer delState;


}
